﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PBOffice.Model
{
    /// <summary>
    ///请假信息实体类
    /// </summary>
    public class LeaveApplication
    {
        private int leaveNo;
        /// <summary>
        ///  请假编号
        /// </summary>
        public int LeaveNo
        {
            get { return leaveNo; }
            set { leaveNo = value; }
        }
        private int leaveTypeNo;
        /// <summary>
        /// 请假类型编号
        /// </summary>
        public int LeaveTypeNo
        {
            get { return leaveTypeNo; }
            set { leaveTypeNo = value; }
        }
        private int userNo;
        /// <summary>
        /// 请假人编号
        /// </summary>
        public int UserNo
        {
            get { return userNo; }
            set { userNo = value; }
        }
        private DateTime applicationTime;
        /// <summary>
        /// 请假申请时间
        /// </summary>
        public DateTime ApplicationTime
        {
            get { return applicationTime; }
            set { applicationTime = value; }
        }
        private int leaveHours;
        /// <summary>
        /// 请假时长（小时）
        /// </summary>
        public int LeaveHours
        {
            get { return leaveHours; }
            set { leaveHours = value; }
        }
        private DateTime leaveBeginTime;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime LeaveBeginTime
        {
            get { return leaveBeginTime; }
            set { leaveBeginTime = value; }
        }
        private DateTime leaveEndTime;
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime LeaveEndTime
        {
            get { return leaveEndTime; }
            set { leaveEndTime = value; }
        }
        private string leaveCause;
        /// <summary>
        /// 原因
        /// </summary>
        public string LeaveCause
        {
            get { return leaveCause; }
            set { leaveCause = value; }
        }
    }
}
